package com.zwx.bingo.autoconfigure.ignored;

import com.zwx.bingo.ignored.SystemIgnoredListProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zoo
 */
@Configuration
@EnableConfigurationProperties(value = {SystemIgnoredListProperties.class})
public class SystemIgnoredListAutoConfiguration {


    @Bean
    @ConditionalOnMissingBean
    public SystemIgnoredListProperties systemIgnoredListProperties() {
        return new SystemIgnoredListProperties();
    }
}
